#include<stdio.h>
#include<stdlib.h>
#include "list.h"

void reverse(LinkList phead){
    if(phead->next)
        reverse(phead->next);
    printf("%d ",phead->data);
}

int main(){
    LinkList head;
    create_list(&head,1,5);
    reverse(head);
    return 0;
}
